package com.gt.wxpay.cashier.domain.model;

public enum TransactionTypeEnum {

    /**
     * 0-充值
     */
    RECHARGE(0, "充值"),
    /**
     * 1-支付
     */
    PAY(1, "支付"),
    /**
     * 2-退款
     */
    REFUND(2, "退款"),
    /**
     * 3-冻结
     */
    FREEZE(3, "冻结"),
    /**
     * 4-解冻
     */
    UNFREEZE(4, "解冻");


    TransactionTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private final Integer code;

    private final String desc;

    public Integer code() {
        return this.code;
    }

    public String desc() {
        return this.desc;
    }
}
